@extends('layouts.ajax_master')
@section('app_js')
    <script type="text/javascript" src="/resource/js/J_main.js"></script>
    <script type="text/javascript">
        $('#teamTable').dataTable().fnDestroy();
        initDataTables();
    </script>
@stop
@section('content')
    <table id="example" class="table table-striped responsive-utilities jambo_table">
        <thead>
        <tr class="headings">
            <th>
                <input type="checkbox" class="tableflat">
            </th>
            <th>文章标题</th>
            <th>文章分类</th>
            <th>作者</th>
            <th>关键词</th>
            <th>文章缩略图</th>
            <th>发表日期</th>
            <th class=" no-link last"><span class="nobr">操作</span>
            </th>
        </tr>
        </thead>

        <tbody>
        @foreach($lists as $list)
            <tr class="even pointer img-box">
                <td class="a-center ">
                    <input type="checkbox" class="tableflat">
                </td>
                <td class=" ">{{$list->title}}</td>
                <td class=" ">{{$list->cate}}</td>
                <td class=" ">{{$list->author}}</td>
                <td class=" ">{{$list->keywords}}</td>
                <td class=" "><img src="http://shop.mutouw.com/data/upload/shop/store/goods/5/5_04988459324684829_60.jpg" alt=""></td>
                <td class=" ">{{$list->created}}</td>
                <td class=" last">
                    <a href="/news_import?zx_id={{$list->zx_id}}">编辑</a>
                    <a href="javascript:;"  class="delete" data-zx_id="{{$list->zx_id}}">删除</a>
                </td>
                </tr>
                 @endforeach
                 </tbody>
 </table>
@stop